For use with Ruby