Fixed bugs in documentation, and added some clarification regarding redirect.