Fixed def guard in provider.h