Added the resolve callback on shims for post rendering.