Add setting for ac-modes.