Add afterRender callback option