Reused the original method. Fixed the NoSuchMethodError.