Added mixin
Added debugging for invalid paths