Make NodeDecorator generic, add and enable GetMethodContext and associated Tests