Get past undefined type error, now we have 'Can't resolve type Class'