Renamed parameters to match convention.