Added StreamDelegate so we can access stream properties from closures