Simplifying code with Run.getCause(Class).