wrapped a few more functions regarding code completion.