Improved the logging by moving it to the Mixin _data methods, and using the 'inspect' library.