Fixed relations dump with new specials and other small fixes.