Fix broken syntax in define_provider calls.

Thanks @gabrielrotbart!