Added a dumper for debugging. REVERT ME