docs: Simplify Extension class by removing @classmethod