Update to how post types are registered