Added support for QGIS 2.0