Add .by_id() methods to caches