added node-persist support.