add ScopedPtr, SystemErrorException, Mutex