[feature] Moved util out of engine.