Adding Table locking capability to the class.