Move mandatory hook functions
Make persistent cache default