Fix: field access broken on Java/Android

Revert #57 as it doesn't seem to work on Java/Android.