adds support for parameterized method injection