Fix bug with mixins.