ruby: deserialize work in progress.
ruby: cleanup some warnings.