Fixed packet functions not static