Changed rerunnable_safe to be a class attribute