Added my proposal for an API.