Optimize PacketIn getters