Compilation: remove unnecessary internal API.