Rename functions in PreInitialization event to avoid name clash