The registration process works now, but it's ugly and needs to be documented.