Visited API fixes