Added custom visits and events