Adding validations to Post.