Fix missing call to endConfiguration().