Reverted afterRender removal.