Error closing tabsheet on PageControl

Good day,
Neither of the following commands work to Close (Free) a TWebTabsheet on a TWebPageControl:

frmName.pageControlName.ActivePage.Free
and
frmName.pageControlName[frmName.pageControlName.ActivePageIndex].Free

[Error] filename.pas(xx): Free needs a variable

We'll check this with the compiler team.
Workaround:
var wp: TWebTabSheet;
wp := frmName.pageControlName.ActivePage;
wp.Free;