Add documentation for transition cache