Refactor template blocks to reduce repetition. Endpoints no longer have unique colors.