Remove duplicated bash-fu.
Add documentation.