Class decorator now completed which adds the overridden function/extra member variable for const functionality