Fixed documentation based on alexs' comments.