added support or setting a discriptor for prototypeMethods