Fix meta data sharing

Closes #240.