The possible modes should be wrapped into class vars with more meaning.