generator: make setter and getter for default instance