implement all missing ToStream() methods