Changed gallery to be its own post type