Alloc an struct when decoding methods w/o fields

For consistency sake, allocate and return a struct when decoding methods that
don't have fields.

Fixes #225