Fixed Issue #40.
Merge pull request #41 from bjoernpollex/master

Fixed Issue #40 - added generic bounds