Extract #partial_name from insight base classes to a decorator.