Final version for QGIS 2.2