Added post types.
Updated entities to the new Entity superclass.