Setup post model.