some fixes to the generator to not duplicate setters (we have some overloaded setters for better type handling - which caused duplication here).