Various code samples.