Added some more functions.