Replaced mixin with try catch import check