Refactoring.
Disable some unimplemented API.