Cleans up Atmos code.