Rewrite some actions. More to come.