Adds cache_file and cache_image methods.