Adding missing Provider code