uml: move register initialization