Changed the scope of the sendMessage functiosn in Networkmanager to public