Add support for record weight