Fixed MethodOfType handling