Allow service class override in endpoints tasks