A minimal `Attributes` trait to decrease getter/setter boilerplate.