Small abstraction in Loader.load