Added some length validations for guides.