Added support for time input.