Use kwargs to handle user-defined metadata.