Support for default units in the parser if no unit has been specified.

Allows the parser to assume a certain unit if no units were specified in the input string.