Add option to skip classes on error