How to sue a developer for latent defects