Added support for raster input.