Add explicit types when using method broker