Converting a few more functions.