Avoid dealing with the raw IceRegWeight::Weight where practical.