Minor changes and documentation