Fixed completion bugs, updated docs