Add base functions to index