Added better method for generating custom_type from subclass names. This method is implemented in VerseNode, but it needs more testing