Various optimisations
.