Clean up Visit API.