Setting up the first version.
It's undocumented and a bit messy, but it should work.