Fix ref to undefined class.