Added remember initialization code into provider