Added Match<T> for actions.