remove classes as this is used only to extend