Some initial work on localkit API.