Added type objects. (#721)