Accept endpoints in the document