Adding missing implementations of a few class-related method, implemented class cache flushing.