Fixed code samples.