 
   // MARK: - Public state
 
-  /***/
+  /**
+   Bool flag indicates if advertising is active.
+   */
   public var advertising: Bool {
     return currentAdvertiser?.advertising ?? false
   }
 
   // MARK: - Internal state
 
-  /***/
+  /**
+   Active `Advertiser` objects.
+   */
   internal private(set) var advertisers: Atomic<[Advertiser]> = Atomic([])
 
-  /***/
+  /**
+   Active `Relay` objects.
+   */
   internal private(set) var activeRelays: Atomic<[String: AdvertiserRelay]> = Atomic([:])
 
-  /***/
+  /**
+   Handle disposing advertiser after timeout.
+   */
   internal var didDisposeAdvertiserForPeerHandler: ((Peer) -> Void)?
 
   // MARK: - Private state
 
-  /***/
+  /**
+   Currently active `Advertiser` object.
+   */
   private var currentAdvertiser: Advertiser?
 
-  /***/
+  /**
+   The type of service to advertise.
+   */
   private let serviceType: String
 
-  /***/
+  /**
+   Timeout after which advertiser disposes.
+   */
   private let disposeTimeout: NSTimeInterval
 
   // MARK: - Initialization
 
-  /***/
+  /**
+   Returns a new `AdvertiserManager` object.
+
+   - parameters:
+     - serviceType:
+       The type of service to advertise.
+
+     - disposeAdvertiserTimeout:
+       Timeout after which advertiser disposes.
+
+   - returns:
+   An initialized `AdvertiserManager` object.
+   */
   public init(serviceType: String, disposeAdvertiserTimeout: NSTimeInterval) {
     self.serviceType = serviceType
     self.disposeTimeout = disposeAdvertiserTimeout

    self.currentAdvertiser = newAdvertiser
  }

  /***/
  public func stopAdvertising() {
    advertisers.modify {
      $0.forEach { $0.stopAdvertising() }

                                    let relay = AdvertiserRelay(with: session, on: port)
                                    $0[newPeer.uuid] = relay
                                  }
                                },
                                sessionNotConnected: {
                                  [weak self] in
                                  guard let strongSelf = self else { return }
