Adds classes for custom post types