Changed content return types from string to Stream.