An API that actually works.