removed setting of definingClass