Implemented tab completion.