Solve some problems when trying to codegenerate.
Deleted setPersonalDetails  because duplication?!