Added record type concept.
More work to do to digest it in record collectors