Implementing trip ClassMap