Consistant defining of new methods on Function.prototype