Allow interfaces as class in service definition.
Merge pull request #3 from jankramer/allow-interfaces-as-class

Allow interfaces as class in service definition.