First draft at application API.