Fix 'Prototype after' warnings