Minor doc fix
Remove as many instanceof checks as makes sense