docs: def get_functions_and_classes(package):
      """Retun lists of functions and classes from a package.
  
      Parameters
      ----------
      package : python package object
  
      Returns
      --------
      list, list : list of classes and functions
          Each sublist consists of [name, member] sublists.
  
      """
      classes, functions = [], []
      for name, member in inspect.getmembers(package):
          if not name.startswith('_'):
              if inspect.isclass(member):
                  classes.append([name, member])
              elif inspect.isfunction(member):
                  functions.append([name, member])
      return classes, functions