Update to remove isEqual as type check function