Move default interval out of global scope