Small optimisations.