Added some validation.