Got registration working.