Add an API that is actually useful.

See https://github.com/hmans/panties