Add support for small struct return values when invoking a method