Update provider interface to fix #41