Made the membership checks use the State Cache

In theory, this should be a pretty massive speed improvement, since we
hit those methods frequently.