Allow handling of generic subtensors