- cache types in _isType
 - avoid _isType check in getTransaction