Simplified the documentation and fixed a typo