add record class.  Responds to inspect and attributes