Work in progress, figuring out APIs.