split declarations into header