adding a mixin for replicated declarations