Cache Implemented for Code Class