Support generic Create methods.
Merge pull request #2 from romerod/master

Support generic Create methods.