Added World module. Simplified NativePtr.toArray.