Fixes #237. Java8 introspection changes for generics.