Add docstring for endpoint parser and cleanup existing endpoint docstr