Added whitelisting of commands.