Loader now allows custom callbacks for different namespaces.