Fix For Delphi 7.