Support for generic interfaces

Fixes #63.

Now people can have all the boring CRUD Web APIs they want and they only
need one interface. :trollface: