Renaming _lock to privateLock