Modified all example application to work with the class invocation and configuration method.