Make Record a partial class.