Implementing module loading (dll/so) from scripts.