Add more member functions in 2D particle classes.