Remove the now unused getSlaveMode() function