Added init and tail methods.

Unrelated to this pull, right?