This removes the usage of the SourceVersion class, which was not available on Android and caused issues such as #8876