Simplify Loader.prototype.load implementation, eliminating a call to the Promise constructor.