added @Type to type and clazz