Improved for ruby usage.