Map type to post.