Changed path validation.