Added new methods 'indexBy', 'sample', 'partition' and 'unescape'