Made validation pretty.