Add serialize header and source