It's fine to not add this. isinstance is better.