Deprecated wrong spelling method.

Document.getSegment(String tag) -> Document.getSegments(String tag)
Transaction.getSegements() -> Transaction.getSegments()