Moved validation.