Remove some unnecessary formatting/casting.