Moved painting backends into separate packages