Readded method getProvider in Example.java since it is used in ExampleTest.java.