I don't think Haxe can know that `T` is of type `FlxSprite`, it only knows that `T` has to be a `FlxSprite` or extend it at some point.