Comments and interface cleanup for on_receive_pdu