Can we change the type of `_target` to `NodeGrid`, then don't have to dynamic cast.