Edited post types class