Added delete_all to PostType