Text this: Learning affordances in object-centric generative models