Remove deprecated API calls for better QGIS 2.0 support