mixin support for define-s and on-event-callbacks