Extension methods for creating quantities