Added getter-setter generating functionality.