Prevent state leak.
Remove redundant code.