Added exception handling for missing protocol module