Fixed bug caused when subclassing Record classes.
Updated Record documentation.