STY: Style fixes for integer deprecation changes

Also minor changes in the documentation.