Renamed withAttirbutes -> withPermittedAttributes, withUnsafeAttributes -> withAttributes