Fixed metas not saved.

Fixes #16.