Made compatible with FlxPlugin class