Added logic to check for version expiration from the publisher.