Create DynamicUtil class, move DynamicFunction content there.