Simplify the creation of custom post type objects