Useful performance tweaks