Extracted the Post class.