We should probably declare the lock... and not just the constructor/deconstructor.