Adds endpoints