Changing Single to Server.
unexporting unnecessary function.
Writing doc.