style updates and documentation fixes