Fix provider validation and spec