Remove unused require.
Use object visitors instead of class visitors.