Support mode argument.