Support multiple modules on -compile
Add some native accessors