implment ability to pass options to mixin