Refactored into more markdown-friendly formatting; added examples