Add missing include.
Remove unused variables.