added dummy definition caching, because I enjoy that sort of thing