Changed the puplic api.