Updated documentation and added fixes.