Derive from prog-mode when available