use caches in finding definitions and renderers
don't call callback function when loading packages