[Java]: Minor tidy up of group wrap methods.