Adding getExpiryDate to resources