Added utility to filter invocations by remote method