Move some methods out of line so that MutexGuard.h isn't needed in a public header.