Fixed defining mixins with Function.define({
        constructor: function() {
        }
      });
Fixes #1