Added Validation.

Added Validation.