relace _.extend(x.prototype