Code cleanup. Export callback powered load function.