Made specs for ruby backward compatible.