Metadata function.