Isn't the name confusing here? PartialFunctions are composable by default. This is more like a MutablePartialFunction.

What about making it a builder, and then you can call become() after you built an immutable final behavior? What others think?