Input validation done.