Make some methods in slave.hpp public so that tests will pass on OS X.