Implement hack for detecting java transient fields
Misc tweaks