Fixed an error in the batchRegister function which prevented dependencies from being loader; changed some variable nomenclature to prevent that error from happening again