don't match on Object, seems to cause AOT issues