Refactors 'load' CLI method.