src/nopg.js
function reset_methods(doc) {

				if(is.array(doc)) {
					return ARRAY(doc).map(reset_methods).valueOf();
				}

				if(is.object(doc)) {
					ARRAY(methods).forEach(function(method) {
						delete doc[method.$name];
					});
				}

				return doc;
			}
function reset_methods(doc) {

				if(is.array(doc)) {
					return ARRAY(doc).map(reset_methods).valueOf();
				}

				if(is.object(doc)) {
					ARRAY(methods).forEach(function(method) {
						delete doc[method.$name];
					});
				}

				return doc;
			}
function reset_methods ( doc ) { if ( is . array ( doc ) ) { return ARRAY ( doc ) . map ( reset_methods ) . valueOf ( ) ; } if ( is . object ( doc ) ) { ARRAY ( methods ) . forEach ( function ( method ) { delete doc [ method . $name ] ; } ) ; } return doc ; }
Removes methods from doc
Removes methods from doc