add accessors.