Adjusted the documentation according to comments.