Added range(), head() and tail()