Add serialize snipets.