Added server validation handling.