Added some tweaks and documentation stuff