Fix improper use of cached_setup