Removed the list wrapper

Since the OS won't change once the code is running, so it is okay to export the function directly rather than to use a wrapper to dispatch the call dynamically.