get rid of annotations in class transformer