Define and attach behaviours for collection