Add excerpt length
Remove unused functions