Definitions for the attr_* methods.