Initial generator for getter and setter