Remove extra RD commands for build.