* Add related span for mixin constructor error * Remove unneeded casts * Nicer style
export as namespace