Some initial fleshing out of the core API.