Fix misnamed functions