Index.Index(string) throws C# exceptions

See #1