Updated some documentation and deleted removed functions.