Added attribute checks when parsing wrmap.