Restricting the public API.