Fix addition of method type.

Dispatch method was not added.