Loading TDataModule returns 'There is no method in an ancestor class to be overridden "procedure LoadDFMValues of Object"'

I cannot see an issue when descending from the correct TWebDataModule instead of TDataModule:


type
  TDataModule1 = class(TWebDataModule)
  private
    { Private declarations }
  public
    { Public declarations }
    procedure setBearerHeaderr(requestRef: TWebClientConnection);
    function GetCookiee(cookie_name: string): string;
  end;