extending the lock wrap over a few other XML objects. Renaming Lock object to a more generic name