ability to override record class globally and locally