Python APIs for GIS Layer Contextual Actions