added javadoc to loadStream()