Added new version of RegisterInit()