core.blah = function() { do my stuff... oldblah.apply(this, arguments); }