Improved code samples.