Implements #5 (dry run).