Fixed NoSuchMethodException that was caused