Added cache expiration support.