Proper handling collection types.