ClassType: methods from traits are not imported