Fixed documentation and port in IDL.