tweaking how loader is registered.