If this gets more parameters, we should consider switching to a parameter object.