Fix: Methods accepted structs that diff. from param

Methods was accepting structures that was not equal to the
paramter-type. Was implicitly converting the type.

Ref: https://villavu.com/forum/showthread.php?t=110843