Use trail class in getTrails