Some adjustments for the code snippets.