Adds last() method