Small bits of code optimization for readability