ensure the #providers methods always return an array