Adding an invalidator.
Updating the documentation to match the new invalidator API.