Adding mixin for classes and adaptors for outside JS libraries.