Made the second parameter of the post type class to be optional to let it define inside the class definition.