Added internal access to public api.