Updated example to show how to get params out of plat.