Add post views and some helpers for the views.