Getting parent's parametric types parameter

Or probaly just live with the boilerplate for a while