Adds class cache in compiler utils