Whitelist allowed functions in modules. This will later be used to ensure modules use the bot provided API to deal with garbage collection and ensure no module uses standard allocating functions.