remove useless class from core.