Adding support for removing cache items when they're complete.