BasicLock now inherits from object