Make this build with the newest Xcode.
Fix typo with passing parameters.
Sample project now also uses a parameter.