Simplify paint object code and add comment