Small improvements to integer