More register logic.