Move some methods to private API.