Refactored ActionServices to take out common code