Beginnings of a prototype Ruby extension.