metamodel: changed type of type() to Class #226