Removed some unused code from addActions()