def new_mdecl_wrapper_t__getitem__(self,index):
   """Provide access to declaration.
      If passed a standard index, then return contained decl.
      Else call the getitem method of the contained decls.
   """
   if isinstance(index, (int, slice)):
      return self.declarations[index]
   else:
      return self.__getattr__("__getitem__")(index)