Added private ReadWriteLock to the Bucket nested class.