@classmethod
def fromNamelistString(cls, string, context, template=None):
    """Loads the object from an FORTRAN namelist string.

        By default it assumes the derived class can be initialized from a string
        argument. If this is not the case, fromNamelistString should be implemented.
        """
    return cls(string)
