Working on protocol handling.