duration and dimension added

Added duration and dimension types.