support mixins in element options