A minimal trait to decrease getter/setter boilerplate.