Removing not used commands.