Generating getters and setters.