Minor fix in AbstractClassExtension.