Add role, validate type of tags, change structure spec