new method parameter added

For those who need, now you can pass the original method as a parameter.
The documentation will be added in the next commit