Support setting the slave mode