Make compatible with server.