Rewrote server engine.