Added collection saving.