First step towards exposing an API.