remove method from compiler public API