Made smoke work properly.