- introduce a refined way to perform finalization for setup functions which does not use cached_setup() anymore