Adding register template