Changed method of storing result type names and finding result child classes