[nexa] Preventing undesirable behavior of intelligent machines