Added some more description to the functions.