First steps towards serializing.