What is the role of a lawyer in a property development agreement?