Support parameterize of enclosed type