Implement SR.{create,attach,detach}