Mode enumeration added.