Cleaned up the typed Slice accepts, should be harder to pass unsafe data to the db.  Renamed getraw to get_slice