Using maps instead of records for storing transaction and statement information.