Make transition evaluation cache a slot instead of a global.