Store parser on hash instead of a class method