Merge "Add full support for initing registers."