Changed getField() to getDeclaredField() to hopefully fix the
NoSuchFieldException