Adds min/max validations.
Merge pull request #1 from gsandoval/master

Adds min/max validations.