datapath: Use static where possible.