Use iter package, make DecodeElements easy