Extend all the loading functions to take an engine pointer, a pass