use names for boolean args.
typos.
Add to JavaAPI.