Moved the dumpAPI function to a new plugin.

Fixes #25