added registerAll() injectable function for doing multiple registers at once