Flight mixin for creating custom elements.