Made props of route handler public