docs: def register(self, key, initializer: callable, param=None):
          '''Add resolver to container'''
          if not callable(initializer):
              raise DependencyError('Initializer {0} is not callable'.format(initializer))
          if key not in self._initializers:
              self._initializers[key] = {}
          self._initializers[key][param] = initializer