Fixing order of generics vs providers