fixed type bounds in Builders
bumped version number to 3.7
Merge pull request #60 from sanity/fixGenerics

Fix generics