Added metaread and metawrite prototypes