Add WithMeta type

Fix #275
Docs