Code snippets are optimized a little.