Added head() method.