Clean up collection constructor.