clean Extension class