Fix docs.
Override all java chain methods to return the groovy type.

 Also added a test for this to ensure we always catch everything.