Make unsupported expressions cause throw a validation exception.