Useful Ruby enhancements