Closed #62 (Make SM.areNodesConnected a synchronous method)