Made different versions of several functions in the repository.