Refactor actions as requests