Adding documentation for a few more functions