Java library compatible.