Implementation of Provider and Server.