You mean like: if the last letter is an "s", just remove it and try the find (again)? What if we want to support custom (user-defined) media types someday and a user creates two media types "foo" and "foos"? (yes I know it's not really realistic but the assumption only really works for english right?)