Automatically make class getters and setters.