Refactoring WellKnownBehavior to be be typed