Added transitions and refresh-guard.