UK SSO: Multiple code style and documentation improvements.