Add initialize function to initialize all references to config