Added a Record class.