Added code samples.