Publish only for 2.10

This PR also contains latent code stiling improvements.