How to Create and Manage Types?