Added warts for List head, tail and last.