Cannot inherit from internal behaviors

I wanted to do a little bit of extra logic on top of WaitForTriggerAction or WaitForPhysicsMessageAction so that I could check the attachedRigidbody of the collider matches the tag rather than the collider GameObject itself. However, there doesn’t seem to be any way for me to inherit from either of those behaviors because they are marked as internal.

I cannot copy/paste WaitForPhysicsMessageAction to make my own action either as some of the code there uses the internal interface IBlackboardVariableCast.