Rewrite Action API.