Support factory interface interface
Merge pull request #1 from romerod/master

Support factory interface inheritance