Handle collection codes