Added typing to stream's metrics