Initial work on the API for the prelude.