Improved formatting and corrected examples.