Updated to include server method example.
Small edits.