Add mode abstraction method.