Added in initial (but incomplete) packet handling.