Reduces number of warning messages.
Separated into library and example projects.