Add accessors.