Validations so we don't put empty or nil values in.