Remove multi-environment parts and update tasks.