Rename post_types to types