Added Has(key) to check for existence