[Serializable] types can now declare indexers, as long as they have one parameter (#233)