Removed some of the initial startup time when CH is used as a plugin.