I've been trying to derive equations of general relativity on sagemath, I would want to define my metric as g_ij instead of having to define it component by component. Can you help me with how to do that? I tried using the object 'tensor with indices' but that does not allow me to use attributes from the metric object.