Make compose() and load() ensure that the input stream contains a single document...