Fixed generic types in stateless generated sources