Better object apply method type inference for path dependent types.