Nest callbacks to avoid race condition.