Fix for methods without resources
Fix for invalid property names
Merge pull request #6 from Scarygami/master

Some small general fixes.