Store closures in map for container resolution later