Just a feature request to support streams. Currently constructor throws an error if you try and pass a resource to it.