Cleanup Core Class.