Corrected method parameter name for interface. Added test case against custom definitions being passed through  as that would lead to surprising behaviour issue #49