Add RegDir to tmpl context