Mode selector for which operations to perform.