Added contains field to the Metadata class.