Imporve metainfo handling.
Remove old exports.