Use atoms to specify mode instead of a binary.