Remove/substitute unsupported commands.