Refactored ProjectLayer#get_raster and #get_provider to be class methods