Fixed bug in extension.
Todo: Remove existence of KeyNamesArray type as it now is CellArray.