Add a value check.