Removed some redundent code and commented the Post model.