Incorporating an explicit objective to encourage compositionality of object representations significantly improves the quality and robustness of object-centric learning.