Remove redundant property setting function.
Use one class both for client and for server.