References with generic