Add loading error support.