Fixed function docs in inputstream