Add target property to ValidationError.