Making non-API methods of interpreter local