Added Delphi XE support