function ResettingCountedLockableContainerFactory(Parent) {

    'use strict';

    function _createdCountedLockableContainer() {
        var args = arguments[0];
        return _resettingCountedLockableContainer(
                args[1], args[2], args[3], args[4]);
    };

    function _resettingCountedLockableContainer(callback, errback, key, count) {
        var resettingCountedLockableContainer = 
                new ResettingCountedLockableContainer(
                callback, errback, key, count);
        return {
            isLocked: resettingCountedLockableContainer.isLocked.bind(
                    resettingCountedLockableContainer),
            lock: resettingCountedLockableContainer.lock.bind(
                    resettingCountedLockableContainer),
            tryPutContents: 
                    resettingCountedLockableContainer.tryPutContents.bind(
                    resettingCountedLockableContainer),
            tryTakeContents: 
                    resettingCountedLockableContainer.tryTakeContents.bind(
                    resettingCountedLockableContainer),
            tryUnlock: resettingCountedLockableContainer.tryUnlock.bind(
                    resettingCountedLockableContainer),
            keyMismatchCount: 
                    resettingCountedLockableContainer.keyMismatchCount.bind(
                    resettingCountedLockableContainer)
        };
    };

    function ResettingCountedLockableContainer() {
        this.initialize.apply(this, arguments);
    };
    ResettingCountedLockableContainer.prototype = Object.create(Parent);
    ResettingCountedLockableContainer.prototype.constructor = 
            ResettingCountedLockableContainer;

    ResettingCountedLockableContainer.prototype._unlock = function() {
        Parent._unlock.call(this);
        this._resetKeyMismatchCount();
    };

    return _createdCountedLockableContainer.bind(this);

};

@@ -210,58 +210,23 @@
 ner(
-%0A                args%5B1%5D, args%5B2%5D, args%5B3%5D, args%5B4
+args%5B1%5D, args%5B2
 %5D);%0A
@@ -281,35 +281,16 @@
 ntainer(
-callback, errback, 
 key, cou
@@ -402,44 +402,8 @@
 ner(
-%0A                callback, errback, 
 key,

Update resettingCountedLockableContainerFactory.js