Collections generator - removed unnecessary default value check