Remove paint method.