Allow custom fetch functions