Add preliminary support for integration with ruby.