.register() can take several dependencies per call