Modified the generated headers so that properties can be accessed directly via their names. (the var_* methods have become get_* instead, to fit better with the property mechanism)