Setting the content collection when the content attribute is set.