Replace incomplete example with complete one

Also, document need for IFormLayer.