Fix #39: Javadoc should reflect actual behavior