Use Seq instead of Map for attributes