public static function useStreamWrappers() {
    $swift = stream_wrapper_register(
      \HPCloud\Storage\ObjectStorage\StreamWrapper::DEFAULT_SCHEME,
      '\HPCloud\Storage\ObjectStorage\StreamWrapper'
    );

    $swiftfs = stream_wrapper_register(
      \HPCloud\Storage\ObjectStorage\StreamWrapperFS::DEFAULT_SCHEME,
      '\HPCloud\Storage\ObjectStorage\StreamWrapperFS'
    );

    return ($swift && $swiftfs);
  }