Fold enable/disable load extension functions into a single entry point

See #46
Fixes #55