Implementing DumpModules variants

Closes #7.