Make sure to explicitly declare the metadata variable.