Ported that as is from util.js/load, but yea I agree passing directly would be better.