Generic class with property of generic type argument

This fixes Issue 10