Moved Streams/inplace Q_init method definition to a better place