Creates a new post-type.