Add shift and unshift to @vector.
Add docstrings to lib/ prototypes.