Refactored. Added git-completion.