Added some missing functions

I also made some minor updates to some existing ones