A Mechanisms for Flexible Dynamic Trait Replacement