Wire up endpoints