One parent class for types and categories, issue #11