Added support for storing metadata and skipping auto imports.

Fixes #7