Added clearCache function to core.