Rely on stripping away prefix/suffix instead.