ef METHOD_NAME(self, beads):
  """Takes a Beads instance and stores a minimal representation of it.
  Args:
     beads: A Beads object from which to initialize from.
  """
  super(InputBeads,self).METHOD_NAME()
  self.natoms.METHOD_NAME(beads.natoms)
  self.nbeads.METHOD_NAME(beads.nbeads)
  self.q.METHOD_NAME(depstrip(beads.q))
  self.p.METHOD_NAME(depstrip(beads.p))
  self.m.METHOD_NAME(depstrip(beads.m))
  self.names.METHOD_NAME(depstrip(beads.names))