Maya 2015 fileDialog2 callbacks

Does anyone else see how ridiculous this is ?

pm.mel.eval (r'''
global proc fileDialogSelChange(string $parent, string $selection){
  string $cmd = "fileDialogSelChange(\"" + $parent + "\", \"" + $selection + "\")";
  python $cmd;
}''')

Come on Autodesk, you gotta be kiddin me !