Remove unnecessary private object in abstract classes.