Add example project.
Fix warnings.