More validation stuff.