Removed warnings from utils and protocol