Rename dimensions to shape, towards #12.