public static function register( $post_types = [] ) {
		foreach ( $post_types as $post_type => $args ) {
			$args = self::parse_args( $args );

			self::register_extensions( $post_type, $args );

			// Defaults for post registration.
			$args = wp_parse_args( $args['args'], [
				'description'       => $args['name_plural'],
				'public'            => false,
				'show_ui'           => true,
				'show_in_nav_menus' => true,
			] );

			register_post_type( $post_type, $args );
		}
	}