Support generic assertions.
Merge pull request #7 from square/jw/generics

Support generic assertions.