def __getattr__(cls, attr):
    """
        Try and call get_`attr` on the cls.
        """
    try:
        return cls.__dict__['get_' + attr].__func__(cls)
    except KeyError:
        raise AttributeError("object '{}' has no attribute '{}'".format(cls
            .__name__, attr))
