Useful (and random) extensions to core Ruby libraries