Add generic type
Merge pull request #1 from dirk-olmes/generics

Add generic type