Add endpoint mapping.