Added transaction and record classes.