Added comment type factory