API changed

Changed the AsyncClient method signatures to accept the subtypes of the
AbstractDocument instead of String.