@classmethod
def load(cls, model_dir=None, model_metadata=None, cached_component=None,
    **kwargs):
    """Load this component from file."""
    if cached_component:
        return cached_component
    else:
        component_config = model_metadata.for_component(cls.name)
        return cls(component_config)
