Update Custom Post Type class syntax.