WP-4343 Fixes an issue by using type_info_alter.