Remove unused Paint object construction.