Add assertions to load().