Added Custom Post Type support.