Maybe use `Metadata` instead of `M.Map String String` here?