Extracted to plServer.