Added integer validation as an example.