Fleshed out custom post type creation.