src/shared: some stylistic changes