Factory for MapResultClasses