fix use of deprecated commands.add in pentadactyl plugin