DynamicFunction decoupled from Resources