Added support for metadata in the Thucydides session