moved srcMetadata to mixin