Add simple mechanism to register end points.