Merge pull request #104 from charsleysa/metadata

Fixed struct method calling