Corrections to code samples.