remove public/private keywords from const in core classes