Adding register translation