Added more descriptive errors.