Added title validation.