Fix function namings, copy+paste error.