Added ability to parse time parameters in the API.