Corrections to code samples