Don't register functions until the last possible point, so they're not unloaded unnec...