The small octagonal structure on the western side of the Umayyad Mosque courtyard, decorated with intricate 14th-century mosaics and standing on eight recycled Roman columns, is the Dome of the Treasury, once used to keep public funds safe from thieves.