      - returns:         The same instance of CLDLayer.
      */
     @objc(setTypeFromString:)
+    @discardableResult
     open func setType(_ rawType: String) -> CLDLayer {
         type = rawType
         return self

     
     - returns:                 The same instance of CLDLayer.
     */
    open func setFormat(format: String) -> CLDLayer {
        self.format = format
        return self

     - returns:                     The same instance of CLDLayer.
     */
    @objc(setResourceTypeFromString:)
    @discardableResult
    open func setResourceType(_ resourceType: String) -> CLDLayer {
        self.resourceType = resourceType
        return self
