Changed attributes to explicit accessors.