Update AbstractExtension.php