Minor fix: set headers as public

Minor fix: set headers as public when setting properties