Removing painter code. Not needed.