Add internal Filter APIs to support Csharp