Added a simple postType generator class