Dynamically generate setters and getters. Defining variables is done with a special function instead