PIM-2185: Clean method to export action
PIM-2185: Remove useless spaces