Make register access functions public