Fail on excess input (fixes #9)