Preliminary sketching of API.