Fixed a bug with mixins