Added attribute validation.