Add plugin "dumper". Reorganize code.