Fix function order in header.