Code beautification.
Example application is now working.