allow foo.text.bar/foo.image.bar