Refactored action methods according to the new element DOM structure.