Add support for legacy post types