Minor fix to misnamed function.