Refactor default actions.