optimizng input mixins.