Moved methods for format parsing/conversion into a submodule 'formats.'