Use type inference to match project style