Remove useless code.
Fix undefined variable.
Fix BIRD commands.