Fix property indexers for class instances