Refactoring actions.details.