Expose actionLoader as api function.

So actions can loaded at runtime.