Added init and tail methods.

(fixed in 547e70facd98badcd9aa0d7e5f694fddacffc834)