Add whitespace validation.

Resolves #10