Update some code snippets and talk about serialiation.