`addClassSourceToClassPath[T](clazz: Class[T])`

Should allow us to avoid the cast elsewhere.