Removed code for particles.