Fix typo
Remove unused functions